vr2-4-05.wrl


[ VRML source code ]

#VRML V2.0 utf8
#vr2-4-05.wrl
#landscape
Billboard {
  axisOfRotation 0 1 0  
  children Transform {
    translation -150 105 -40
    rotation 1 0 0 1.7808
    children Shape {
      appearance Appearance {
        texture ImageTexture {
          url "si1.jpg"
        }
      }
      geometry ElevationGrid {
        xDimension 10
        zDimension 7
        xSpacing 30
        zSpacing 30
        height [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                 0, 1, 1, 1, 1, 1, 1, 1, 1, 0,
                 0, 1, 3, 2, 35, 45, 27, 5, 3, 1,   
                 0, 1, 6, 5, 50, 40, 50, 5, 1, 0,   
                 0, 1, 2, 24, 28, 25, 8, 5, 1, 0,   
                 0, 1, 1, 1, 1, 1, 1, 1, 1, 0,   
                 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
        ]    
      }
    }
  }
}
#body
Transform {
  scale 1 1.7 1
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 1 0
      }
    }
    geometry Sphere {
      radius 8
    }
  }
}
#head
Transform {
  translation 0 15 -5
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 1 0
      }
    }
    geometry Sphere {
      radius 7
    }
  }
}
#main wing
Transform {
  translation 0 5 0
  scale 1 1 0.05
  rotation 1 0 0 -0.5
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 1 0
      }
    }
    geometry Cone {
      bottomRadius 30
      height 15
    }
  }
}
#tail wing
Transform {
  translation 0 -15 0
  scale 1 1 0.1
  rotation 1 0 0 0.5
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 1 0
      }
    }
    geometry Cone {
      bottomRadius 10
      height 10
    }
  }
}
#nose
Transform {
  translation 0 20 -12
  rotation 1 0 0 -1
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 1 1 0
      }
    }
    geometry Cone {
      bottomRadius 4
      height 10
    }
  }
}
#eyes
Transform {
  translation 4 18.5 -6
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 1 1 
      }
    }
    geometry Sphere {
      radius 2
    }
  }
}
Transform {
  translation -4 18.5 -6
  children Shape {
    appearance Appearance {
      material Material {
        diffuseColor 0 1 1 
      }
    }
    geometry Sphere {
      radius 2
    }
  }
}